package com.mayikt.constants;

/**
 * @Auther: CHEN JIN LONG
 * @Date: 2019/1/17 23:22
 * @Description:
 */


public interface Constants {
    //响应请求成功
    String HTTP_RES_CODE_200_VALUE = "seccess";
    //响应请求失败
    String HTTP_RES_CODE_500_VALUE = "fial";
    //响应请求成功code
    Integer HTTP_RES_CODE_200 = 200;
    //响应请求失败code
    Integer HTTP_RES_CODE_500 = 500;
    //未关联qq账号
    Integer HTTP_RES_CODE_201 = 201;
    //发送邮件
    String MSG_EMAIL = "email";
    //会员token
    String TOKEN_MEMBER = "TOKEN_MEMBER";
    //用户有效期90天
    Long TOKEN_MEMBER_TIME = (long) (60 * 60 * 24 * 90);
    int COOKIE_TOKEN_MEMBER_TIME = (60 * 60 * 24 * 90);
    //cookie 会员token名称
    String COOKIE_MEMBER_TOKEN = "cookie_member_token";
    //微信code
    String WEIXINCODE_KEY = "weixin_code";

    //验证码有效时间30分钟
    Long WEIXINCODE_TIME = 18000L;

    //查询手机已存在
    Integer EXISTMOBILE_CODE_203 = 203;

    //订单号key
    String ORDERNO_KEY_VALUE = "ORDERNO";


    String MEMBER_TOKEN_KEYPREFIX = "LOGIN";
    //设备终端
    String MEMBER_LOGIN_TYPE_PC = "PC";
    String MEMBER_LOGIN_TYPE_IOS = "IOS";
    String MEMBER_LOGIN_TYPE_ANDROID = "ANDROID";
    //登录有效期90天
    Long MEMBER_LOGIN_TOKEN_TIME = 77776000l;

}
